<template>
  <div class="index-page">
    <div class="head">
      <div class="content_df text-base flex items-center">
        <div class="head_box">
          <img :src="base.icon" />
          <div class="ml-3">{{ base.title }}</div>
        </div>
        <div class="desc ml-3 text-gray-500">
          <img class="left_y" :src="leftIcon" />
          <div class="text">
            赞客帮是收集一切有助于中小学生兴趣信息，有助于身心健康的信息及学生周边工具类应用。
          </div>
          <img class="right_y" :src="rightIcon" />
        </div>
      </div>
    </div>
    <div class="mt-3 p-3-- flex justify-center w-full">
      <div class="imgs content_df">
        <div class="img_box" v-for="(item, index) of imageList" :key="index">
          <img :src="item" />
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import { base } from "../../utils/config";
import zIcon1 from "../../assets/z1.jpg";
import zIcon2 from "../../assets/z2.jpg";
import zIcon3 from "../../assets/z3.jpg";
import zIcon4 from "../../assets/z4.jpg";
import leftIcon from "../../assets/left-y.png";
import rightIcon from "../../assets/right-y.png";
const imageList = [zIcon1, zIcon2, zIcon3, zIcon4];
</script>

<style lang="less" scoped>
.index-page {
  width: 100%;
  min-height: 100vh;
  // background: #f0f0f0;
  background: #ffffff;
  overflow: auto;
  .head {
    height: 80px;
    display: flex;
    justify-content: center;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    &_box {
      display: flex;
      //   justify-content: center;
      align-items: center;
      height: 100%;
      img {
        width: 60px;
        height: 60px;
        border-radius: 100%;
      }
    }
    .desc {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      img {
        width: 60px;
        height: 60px;
      }
      .left_y {
        position: absolute;
        top: -30px;
        left: 0;
      }
      .text {
        padding: 0 60px;
      }
      .right_y {
        position: absolute;
        bottom: -30px;
        right: 0;
      }
    }
  }
  .imgs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    // padding: 30px;
    .img_box {
      width: calc(100% / 4);
      height: 300px;
      padding: 10px;
    }
  }
}
.content_df {
  display: block;
  width: 70%;
  height: 100%;
}
.index-page::-webkit-scrollbar {
  display: none; /* 针对Webkit浏览器，隐藏滚动条 */
}

.index-page {
  -ms-overflow-style: none; /* 针对IE和Edge，隐藏滚动条 */
  scrollbar-width: none; /* 针对Firefox，隐藏滚动条 */
}
</style>
